function [ w ] = gaussianWeight(d, rho)
%GAUSSIANWEIGHT Compute the gaussian weight function
%   d   : distance between the xi node and the sample point x
%   rho : spacing parameter

w = exp(-d.^2/rho^2);